<template>
  <ConfigProvider :locale="zhCN">
    <router-view />
  </ConfigProvider>
</template>

<script setup>
  import { ConfigProvider } from 'ant-design-vue';
  import zhCN from 'ant-design-vue/es/locale/zh_CN';
  import dayjs from 'dayjs';
  import 'dayjs/locale/zh-cn';
  dayjs.locale('en');

  ConfigProvider.config({
    // 设置主题
    theme: {
      primaryColor: '#605bff',
    },
  });
</script>

<style lang="less">
  #app {
    //width: 100%;
    //height: 100%;
    //overflow: hidden;
  }
</style>
